FROM openjdk:11
ENV TZ Asia/Shanghai
EXPOSE 10001
# 项目路径
ARG APP_PATH
ENV APP_PATH=$APP_PATH
ADD rabbit-code-v2-web/target/application.jar application.jar
ENV TIME_ZONE=Asia/Shanghai
CMD java -Xms1g -Xmx1g -jar -Dspring.profiles.active=prod -Dserver.address=0.0.0.0 -Dserver.port=10001 application.jar


